package com.shoutao.website.controller.pagecontroller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.sql.SQLException;

/**
* @Description:
* @Param:
* @return:
* @Author: cqin
* @Date: 2019/11/18
*/

@Controller
@RequestMapping(value = "/")
public class ProductManageController {


    @RequestMapping(value = "/")
    public String index(){
        return "index";
    }


    @RequestMapping(value = "index.html")
    public String starter(Model model) throws SQLException {
        return "index";
    }

    @RequestMapping(value = "index2.html")
    public String index2(Model model) throws SQLException {
        return "index2";
    }

    @RequestMapping(value = "building.html")
    public String building(Model model) throws SQLException {
        return "building";
    }

    @RequestMapping(value = "head.html")
    public String head(Model model) throws SQLException {
        return "head";
    }

    @RequestMapping(value = "foot.html")
    public String foot(Model model) throws SQLException {
        return "foot";
    }

    @RequestMapping(value = "about.html")
    public String about(Model model) throws SQLException {
        return "about";
    }

    @RequestMapping(value = "map.html")
    public String map(Model model) throws SQLException {
        return "map";
    }

    @RequestMapping(value = "contact.html")
    public String contact(Model model) throws SQLException {
        return "contact";
    }

    @RequestMapping(value = "blog.html")
    public String blog(Model model) throws SQLException {
        return "blog";
    }


    @RequestMapping(value = "productlist.html")
    public String productlist(Model model) throws SQLException {
        return "productlist";
    }

    @RequestMapping(value = "productdetails_fullwidth.html")
    public String productdetails_fullwidth(Model model) throws SQLException {
        return "productdetails_fullwidth";
    }

    @RequestMapping(value = "productdetails_leftsidebar.html")
    public String productdetails_leftsidebar(Model model) throws SQLException {
        return "productdetails_leftsidebar";
    }



    @RequestMapping(value = "icons.html")
    public String icons(Model model) throws SQLException {
        return "icons";
    }

    @RequestMapping(value = "single.html")
    public String single(Model model) throws SQLException {
        return "single";
    }

    @RequestMapping(value = "bloglist-leftsidebar.html")
    public String blogList(Model model) throws SQLException {
        return "bloglist-leftsidebar";
    }

    @RequestMapping(value = "inblog_left-siderbar.html")
    public String blogDetail(Model model) throws SQLException {
        return "inblog_left-siderbar";
    }


    @RequestMapping(value = "editproduct.html")
    public String editproduct(Model model) throws SQLException {
        return "editproduct";
    }


    @RequestMapping(value = "train.html")
    public String train(Model model) throws SQLException {
        return "train";
    }


    @RequestMapping(value = "trainluck.html")
    public String trainluck(Model model) throws SQLException {
        return "trainluck";
    }



}
